package Patience;

public class Pile
{
	private int pilenumber;
	private int card;
	
	public Pile(int pilenumber, int card)
	{
		this.pilenumber = pilenumber;
		this.card		= card;
	}
	public int getCard()
	{
		return card;
	}
	public void setCard(int newcard)
	{
		card = newcard;
	}
	public void printPile()
	{
		System.out.println(pilenumber + " " + card);
	}
}
